#include <CommandCopy.h>
Inheritance diagram for CommandCopy:

Public Member Functions | |
| CommandCopy (OSGWindows *osgwind) | |
| CommandCopy (OSGWindows *osgwind, TraffEduObject *obj) | |
| bool | execute () |
| bool | unexecute () |
Private Attributes | |
| OSGWindows * | osgwind_ |
| TraffEduObject * | obj_ |
| int | rightCLK |
|
|
A constructor. Initializes osgwind_ and rightCLK variables. It is called if the copy operation is done from the menubar.
|
|
||||||||||||
|
A constructor. Initializes osgwind_, obj_, and rightCLK variables. It is called if the copy operation is done from the menubar.
|
|
|
do the copy operation.
Implements Command. |
|
|
undo the copy operation.
Implements Command. |
|
|
a private variable. It is used to hold the copied object. |
|
|
a private variable. It is initialized with the unique OSGWindows instance. |
|
|
a private variable. It shows if the CommandCopy is called from the RightClickMenu or not. |
1.4.6-NO